import { defineStore } from 'pinia'
export const textLanguageStore = defineStore('test', () => {
    const textjson = reactive({
        zh: {
            menus: {
                menu1: '主页',
                menu2: '订单',
                menu3: '设置',
            },
            home: {
                soccer: '足球',
                basketball: '篮球',
                allleague: '所有联赛',
                all: '全部',
                hot: '热门',
                more: '更多',
                realtime: '实时',
                today: '今天',
                earlier: '更早',
                match: '赛事',
                WinDrawLose: '胜平负',
                WinLose: '胜负',
                win: '胜',
                draw: '平',
                lose: '负',
                AsianPlate: '亚洲盘',
                Totalgoalsscored: '亚洲总进球数',
                home: '主',
                away: '客',
                ou: '大小',
                over: '大',
                under: '小',
                full: '全场',
                half: '半场',
                showMore: '显示更多',
                corner: '角球',
                letballgo: '让球',
                card: '罚牌',
                homeGoalTotal: '主队进球数',
                awayGoalTotal: '客队进球数',
                basketballFirstScore: '篮球第一队得分',
                basketballSecondScore: '篮球第二队得分',
                return: '返回',
                overtime: '超时',
                orderamount: '下单金额',
                oddRange: '赔率范围',
                orderpattern: '订单模式',
                placeOrderpattern: '下单模式',
                limit: '限额',
                minnum: '最低',
                maxnum: '最高',
                placeorder: '下单',
                singleAccount: '单账号',
                multipleAccounts: '多账号',
                countAccount: "指定账号数量",
                successively: '依次下单',
                meanwhile: '同时下单',
                cycle: '循环下单',
                limitType: '金额分配',
                stop: '停止',
                continuouslyOrders: '持续打单',
                stopDisk: '关盘停止',
                beforeMatch: '赛前',
                duringMatch: '赛中',
                allBctype: '所有平台',
                bctype: '平台',
                odd: '赔率',
                cancel: '取消',
                confirmorder:'确认下单',
                latelyOrder: '最近订单',
                liveOrder: '实时订单',
                errorOrder: '异常订单',
                alreadyReservation: '预约中',
                alreadyPlaceorder: '下单中',
                alreadyComplete: '已完成',
                alreadyCancel: '已取消',
                comprehensive: '综',
                orderAmount: '下单金额',
                status: '状态',
                accountNumber: '账号',
                orderSuccess: '下单成功',
                orderFail: '下单失败',
                accountNum: "下单账号数",
                accountNumLimitation: "账号数限制",
                average: "平均分配",
                ceiling: "最高限额",
                section1: "第一节",
                section2: "第二节",
                total: '总量',
                ordered: '已完成',
                noorderplaced: '未完成',
                abnormal: '异常取消'
                

            },
            order: {
                reservation: '预约',
                unresolved: '未结算',
                alreadysettled: '已结算',
                settlementError: '结算异常',
                orderNum: '订单号',
                time: '时间',
                play: '玩法',
                orderScore: '下单比分',
                handicap: '盘口',
                profit: '利润/亏损',
                Notcarriedout: '未进行',
                screen: '筛选',
                startingEndingTime: '起止时间',
                startTime: '开始日期',
                endTime: '结束日期',
                league: '联赛',
                matchStartingEndingTime: '赛事起止时间',
                orderState: '订单状态',
                reset: '重置',
                confirm: '确认'
            },
            login: {
                welcomeLogin: "欢迎登录",
                rememberPassword: "记住密码",
                login: "登录"
            },
            user: {
                logOut:"退出登录",
                balance: '余额',
                todayProfitLoss: '今日盈亏',
                yesterdayProfitLoss: '昨日盈亏',
                accountHistory: "账户历史"
            },

            setting: {
                setting: '设置',
                currency: '通用设置',
                company: '公司选择',
                placeOrder: '下单默认设置',
                Soundandprompts: '声音与提示',
                account: '账号设置',
                language: '语言',
                timeZone: '时区',
                oddType: '赔率类型',
                HongKong: '香港赔',
                Europe: '欧赔',
                selectAll: '全选',
                terms: '使用条款',
                rule: '投注规则',
                defaultOrderAmount: '默认下单金额',
                defaultOrderType: '默认下单模式',
                second: '秒',
                notice: '浏览器和订单通知',
                windowTips: '窗口内提示',
                voice: '声音',
                eventTips: '事件提示',
                matchStart: '比赛开始',
                goalTips: '进球提示',
                redcardTips: '红牌提示',
                orderState: '订单状态',
                completeTips: '完成提示',
                interruptTips: '中断提示',
                password: '密码',
                updataPassword: '修改密码',
                pleaseEnter: '请输入',
                oldPassword: '旧密码',
                newPassword: '新密码',
                enterAgain: '再次输入',
                confirmChanges: '确认更改'
            },
            account: {
                todayProfitLoss: '今日利润/亏损',
                yesterdayProfitLoss: '昨日利润/亏损',
                search: "搜索",
                orderTime: "下单时间",
                betID: '投注ID',
                motion: "运动",
                homeTeam: "主队",
                awayTeam: "客队",
                betType: "投注类型",
                settlementStatus: "结算状态"

            },
            notice: {
                messageCenter: "消息中心",
                notice: "通知",
                ordinaryMessages: "普通消息",
                importantMessage: "重要消息",
                warntMessage: "警告消息",
                successMessage: "成功消息",
                allRead: "一键已读",
                degreeImportance: "重要程度",
                content: "内容",
                sendingTime: "发送时间",
                ordinary: "普通",
                important: "重要",
                warnt: "警告",
                success: "成功",
                message: '消息通知'
            },
            update: {
                currentVersionText: '您当前使用版本为',
                version: "版本",
                content: "优化及修复问题",
                later: "稍后再说",
                nowUpdate: "立即更新",
                downloading: "下载中",
                downloadCompleted: "新版本已下载完成!"
            },
            message: {
                orderWarning: '请完善下单信息',
                orderConfirm: '你确定要下单吗',
                checkoutsuccess: '下单成功',
                nodata: '暂无数据',
                reload: '更改此选项将导致页面重新加载',
                selectcompany: '选择您希望在投注中看到其价格的博彩公司',
                defaultOrderAmountExplain: '在打开付款凭证时，该数字将默认显示在价格字段中',
                defaultOrderTypeExplain: '平台将花多少时间来完成任务',
                noticeExplain: '如果您希望你的浏览器提示您某个事件或订单中发生了某些事情，例如：比赛或游戏中的开始、得分或红牌，或订单状态的更改。',
                enterOldPassword: '请输入旧密码',
                enterNewPassword: '请输入新密码',
                enterNewPasswordAgain: '请再次输入新密码',
                passworAtypism: '两次密码不一致',
                accountExpiration: "账号已过期，请重新登录",
                apiError: "接口错误",
                requestError: "请求失败，请稍后重试",
                apiTimeout: "请求超时",
                isCancelOrder: "是否取消订单",
                tips: "提示",
                confirm: "确认",
                close: "关闭",
                canceSuccess: "取消成功",
                enterUsername: "请输入用户名",
                enterPassword: "请输入密码",
            },
            bctypes: {
                hga: '皇冠体育',
                ps3838: '平博体育',
                kaiyun: '开云体育',
                isn: '智博体育',
                imsport: 'IM体育',
                manbet165: '万博体育',
                dxvip: '德信体育',
            }
        },
        en: {
            menus: {
                menu1: 'Home',
                menu2: 'Order',
                menu3: 'Setting',
            },
            home: {
                soccer: 'Soccer',
                basketball: 'Basketball',
                allleague: 'All Leagues',
                all: 'All',
                hot: 'Hot',
                more: 'More',
                realtime: 'Inplay',
                today: 'Today',
                earlier: 'Earlier',
                match: 'Match',
                WinDrawLose: '1-x-2',
                WinLose: 'Home Away',
                win: 'Home',
                draw: 'Draw',
                lose: 'Away',
                AsianPlate: 'AH',
                Totalgoalsscored: 'O/U',
                home: 'Home',
                away: 'Away',
                ou: 'O/U',
                over: 'Over',
                under: 'Under',
                full: 'Full',
                half: 'Half',
                showMore: 'Show More',
                corner: 'Corner',
                letballgo: 'AH',
                card: 'Card',
                homeGoalTotal: 'Home-O/U',
                awayGoalTotal: 'Away-O/U',
                basketballFirstScore: 'Team 1 Points',
                basketballSecondScore: 'Team 2 Points',
                return: 'Return',
                overtime: 'TimeOut',
                orderamount: 'Stake',
                oddRange: 'oddRange',
                orderpattern: 'Account',
                placeOrderpattern: 'Pattern',
                limit: 'Limit',
                minnum: 'Mini',
                maxnum: 'Max',
                placeorder: 'Place',
                singleAccount: 'Single',
                multipleAccounts: 'Multiple',
                countAccount: "Specify the number of accounts",
                successively: 'One by One',
                meanwhile: 'Same Time',
                cycle: 'Cycle',
                limitType: 'Stakes Split',
                stop: 'Stop',
                continuouslyOrders: 'Keep Open',
                stopDisk: 'Close at Kick Off',
                beforeMatch: 'Prematch',
                duringMatch: 'Inplay',
                allBctype: 'Bookies',
                bctype: 'Bookmaker',
                odd: 'Price',
                cancel: 'Cancel',
                confirmorder:'Confirm order',
                latelyOrder: 'Recent',
                liveOrder: 'Live',
                errorOrder: 'Error',
                alreadyReservation: 'Reservation',
                alreadyPlaceorder: 'Placeorder',
                alreadyComplete: 'Complete',
                alreadyCancel: 'Cancel',
                comprehensive: 'MixOdds',
                orderAmount: 'Order Amount',
                status: 'Status',
                accountNumber: 'Account',
                orderSuccess: 'Success',
                orderFail: 'Fail',
                accountNum: "Account Number",
                accountNumLimitation: "Account limit",
                average: "Average",
                ceiling: "The Max",
                section1: "Section 1",
                section2: "Section 2",
                total: 'Total',
                ordered: 'Done',
                noorderplaced: 'Unplaced',
                abnormal: 'Abnormal',
                
            },
            order: {
                reservation: 'Reservation',
                unresolved: 'Unresolved',
                alreadysettled: 'Already settled',
                settlementError: 'Settlement Error',
                orderNum: 'Order Number',
                time: 'Time',
                play: 'Play',
                orderScore: 'Order Score',
                handicap: 'Handicap',
                profit: 'Profit/Loss',
                Notcarriedout: 'Not carried out',
                screen: 'Screen',
                startingEndingTime: 'Time',
                startTime: 'Start date',
                endTime: 'End Date',
                league: 'league match',
                matchStartingEndingTime: 'Match time',
                orderState: 'Order status',
                reset: 'Reset',
                confirm: 'Confirm'
            },
            login: {
                welcomeLogin: "Welcome to log in",
                rememberPassword: "Remember password",
                login: "Login"
            },
            user: {
                logOut:"Log Out",
                balance: 'Balance',
                todayProfitLoss: "Today's profit and loss",
                yesterdayProfitLoss: "Yesterday's profit and loss",
                accountHistory: "Account History"
            },
            setting: {
                setting: 'Setting',
                currency: 'Currency',
                company: 'Company',
                placeOrder: 'Place Order',
                Soundandprompts: 'Sound and prompts',
                account: 'Account',
                language: 'Language',
                timeZone: 'Time Zone',
                oddType: 'Odd Type',
                HongKong: 'HongKong',
                Europe: 'Europe',
                selectAll: 'Select All',
                terms: 'Terms of Use',
                rule: 'Betting rules',
                defaultOrderAmount: 'Default order amount',
                defaultOrderType: 'Default order mode',
                second: 'Second',
                notice: 'Browser and order notifications',
                windowTips: 'Window prompt',
                voice: 'Voice',
                eventTips: 'Event Reminder',
                matchStart: 'The competition begins',
                goalTips: 'Goal Tips',
                redcardTips: 'Red card reminder',
                orderState: 'Order status',
                completeTips: 'Complete prompt',
                interruptTips: 'Interrupt prompt',
                password: 'Password',
                updataPassword: 'Change Password',
                pleaseEnter: 'Please enter',
                oldPassword: 'Old password',
                newPassword: 'New password',
                enterAgain: 'Enter again',
                confirmChanges: 'Submit'
            },
            account: {
                todayProfitLoss: "Today's profit/loss",
                yesterdayProfitLoss: "Yesterday's profit/loss",
                search: "Search",
                orderTime: "Order time",
                betID: 'Bet ID',
                motion: "motion",
                homeTeam: "Home Team",
                awayTeam: "Away Team",
                betType: "Bet type",
                settlementStatus: "Settlement status"
            },
            notice: {
                messageCenter: "Message Center",
                notice: "Notice",
                ordinaryMessages: "Ordinary messages",
                importantMessage: "Important messages",
                warntMessage: "Warning messages",
                successMessage: "Success message",
                allRead: "One click read",
                degreeImportance: "Degree of importance",
                content: "Content",
                sendingTime: "Sending time",
                ordinary: "Ordinary",
                important: "Important",
                warnt: "Warning",
                success: "Success",
                message: 'Message Notification'
            },
            update: {
                currentVersionText: 'Your current version is',
                version: "Version",
                content: "Optimize and fix issues",
                later: "hold on",
                nowUpdate: "Updating",
                downloading: "Downloading",
                downloadCompleted: "The new version has been downloaded and completed!"
            },
            message: {
                orderWarning: 'Please complete the order information',
                orderConfirm: 'Are you sure you want to place an order',
                checkoutsuccess: 'checkout success ' ,
                nodata: 'No Data',
                reload: 'Changing this option will cause the page to reload',
                selectcompany: 'Choose the gambling company whose price you would like to see in your bet',
                defaultOrderAmountExplain: 'When opening the payment voucher, this number will be displayed by default in the price field',
                defaultOrderTypeExplain: 'How much time will the platform take to complete the task',
                noticeExplain: 'If you want your browser to prompt you that something has happened in an event or order, such as a start, score, or red card in a match or game, or a change in order status.',
                enterOldPassword: 'Please enter old password',
                enterNewPassword: 'Please enter a new password',
                enterNewPasswordAgain: 'Please enter the new password again',
                passworAtypism: 'Two passwords are inconsistent',
                accountExpiration: "Account has expired, please log in again",
                apiError: "Interface error",
                requestError: "Request failed, please try again later",
                apiTimeout: "Request Timeout",
                isCancelOrder: "Do you want to cancel the order",
                tips: "Prompt",
                confirm: "Confirm",
                close: "Close",
                canceSuccess: "Cancel successfully",
                enterUsername: "Enter one user name",
                enterPassword: "Please input a password",
            },
            bctypes: {
                hga: 'Hga',
                ps3838: 'Ps3838',
                kaiyun: 'kaiyun',
                isn: 'Isn',
                imsport: 'Imsport',
                manbet165: 'Manbet165',
                dxvip: 'Dxvip',
            }
        },

    })


    // const languageJson = inject("languageJson")
    return {
        textjson
    }
})